<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>5.模板字符串</title>
</head>
<body>

<script>
  //模板字符串的方式和一般字符串一样
  const str = `模板字符串`;
  console.log(str);

  let str2 = `且听下回分解：
  没有了
  `;
  console.log(str2)

  let lovest = '沈腾';
  let str3 =   `${lovest}是喜剧之王`;
  console.log(str3)
</script>
</body>
</html>